<div class="panel panel-default">
    <div class="panel-heading">热门文章</div>
    <table class="table">
        <tbody>
            <?php foreach ($article_list as $row): ?>
                <tr>
                    <td><a href="<?php echo Yii::$app->urlManager->createUrl(['article/view', 'id' => $row->id]); ?>"><?php echo $row->title ?></a>  &nbsp;&nbsp;<span class="color-grey"><?php echo $row->comments ?>讨论</span></td>
                </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
</div>